package com.jinpeng.huobikline.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@NoArgsConstructor
@Data
public class HuoBiDto {

    /**
     * ch : market.btcusdt.kline.1min
     * status : ok
     * ts : 1617346896271
     * data : [{"id":1617346860,"open":59619.96,"close":59584.26,"low":59580.62,"high":59631.11,"amount":6.863763100973155,"vol":409090.92805024,"count":251}]
     */

    @JsonProperty("ch")
    private String ch;
    @JsonProperty("status")
    private String status;
    @JsonProperty("ts")
    private Long ts;
    @JsonProperty("data")
    private List<DataDTO> data;


}
